
***********************************************************************************************************************
*************** Table A10. Pre-intervention Summary Statistics (ITT Sample) non-winsorized *****************************
***********************************************************************************************************************


use "$data/Non_payment_dataset_ready.dta" , clear

log using "$filepath/output_logs/table A10", replace



estpost tabstat payment paymentcond invoices prepaidcounttotal preclosingbalance preage_of_account if t<=12, by(itt) statistics(mean p25 med p75 sd count) columns(statistics) nototal

* Balance check
foreach x in payment paymentcond invoices prepaidcounttotal preclosingbalance preage_of_account  {
reg `x' i.itt if itt!=. & t<=12, vce(cluster customer)
}

log close
